package org.fuys.coder.domain.act.lottery.repository;

import org.fuys.coder.domain.act.lottery.model.req.award.AwardAddReq;
import org.fuys.coder.domain.act.lottery.model.vo.award.AwardVO;
import org.fuys.coder.common.entity.PageDTO;

import java.util.List;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.lottery.repository
 * @className: IAwardRepository
 * @author: WangJing
 * @description: 奖品仓储服务
 * @date: 2024/7/5 22:46
 * @version: 1.0
 */
public interface IAwardRepository {
    void addAward(AwardAddReq req);
    void updateStatusById(Long id,Integer status);

    List<AwardVO> getPage(PageDTO pageDTO,Long id,String name);

}
